package com.cqfae.deploycentral.app.web.vo;

import com.cqfae.deploycentral.app.dao.entity.ReportInfoTag;

import java.io.Serializable;

/**
 * Created by JIANGLU009 on 2017/8/8.
 */
public class ReportInfoTagVo implements Serializable {

    private Long id;

    private String reportCode;

    private String appName;

    private String tagInfo;

    private Integer level;

    public ReportInfoTagVo() {
    }

    public ReportInfoTagVo(ReportInfoTag model) {
        this.setId(model.getId());
        this.setReportCode(model.getReportCode());
        this.setAppName(model.getAppName());
        this.setTagInfo(model.getTagInfo());
        this.setLevel(model.getLevel());
    }

    public ReportInfoTag parseModel() {
        ReportInfoTag info = new ReportInfoTag();
        info.setId(this.getId());
        info.setReportCode(this.getReportCode());
        info.setAppName(this.getAppName());
        info.setTagInfo(this.getTagInfo());
        info.setLevel(this.getLevel());
        return info;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getReportCode() {
        return reportCode;
    }

    public void setReportCode(String reportCode) {
        this.reportCode = reportCode;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getTagInfo() {
        return tagInfo;
    }

    public void setTagInfo(String tagInfo) {
        this.tagInfo = tagInfo;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }
}
